package com.lsc.www.day3;

//yufa:

//在不确定次数的场景时  多用while  确定for
 /*do{
     循环体

         }while(条件判断);*/

public class Dowhile {
    public static void main(String[] args) {
        int num =0; //初始化语句
        do{
            System.out.println("我好了"+ num);
            num++;
        }while(num<=100);
    }
}
